package com.ilvyou.data.lcs;

import java.sql.Timestamp;

/**
 * Created by Administrator on 2017/2/13.
 */
public class CollectBlacklist2Entity {
    private Long pkid;
    private Long actid;
    private String actname;
    private String realname;
    private String legalname;
    private String legalcertid;
    private String handleway;
    private Timestamp handledate;
    private String reason;
    private Integer status;
    private Timestamp createdon;
    private String createdname;
    private Long createdby;
    private String createdip;
    private String handletype;

    public Long getPkid() {
        return pkid;
    }

    public void setPkid(Long pkid) {
        this.pkid = pkid;
    }

    public Long getActid() {
        return actid;
    }

    public void setActid(Long actid) {
        this.actid = actid;
    }

    public String getActname() {
        return actname;
    }

    public void setActname(String actname) {
        this.actname = actname;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getLegalname() {
        return legalname;
    }

    public void setLegalname(String legalname) {
        this.legalname = legalname;
    }

    public String getLegalcertid() {
        return legalcertid;
    }

    public void setLegalcertid(String legalcertid) {
        this.legalcertid = legalcertid;
    }

    public String getHandleway() {
        return handleway;
    }

    public void setHandleway(String handleway) {
        this.handleway = handleway;
    }

    public Timestamp getHandledate() {
        return handledate;
    }

    public void setHandledate(Timestamp handledate) {
        this.handledate = handledate;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Timestamp getCreatedon() {
        return createdon;
    }

    public void setCreatedon(Timestamp createdon) {
        this.createdon = createdon;
    }

    public String getCreatedname() {
        return createdname;
    }

    public void setCreatedname(String createdname) {
        this.createdname = createdname;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public String getCreatedip() {
        return createdip;
    }

    public void setCreatedip(String createdip) {
        this.createdip = createdip;
    }

    public String getHandletype() {
        return handletype;
    }

    public void setHandletype(String handletype) {
        this.handletype = handletype;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CollectBlacklist2Entity that = (CollectBlacklist2Entity) o;

        if (pkid != null ? !pkid.equals(that.pkid) : that.pkid != null) return false;
        if (actid != null ? !actid.equals(that.actid) : that.actid != null) return false;
        if (actname != null ? !actname.equals(that.actname) : that.actname != null) return false;
        if (realname != null ? !realname.equals(that.realname) : that.realname != null) return false;
        if (legalname != null ? !legalname.equals(that.legalname) : that.legalname != null) return false;
        if (legalcertid != null ? !legalcertid.equals(that.legalcertid) : that.legalcertid != null) return false;
        if (handleway != null ? !handleway.equals(that.handleway) : that.handleway != null) return false;
        if (handledate != null ? !handledate.equals(that.handledate) : that.handledate != null) return false;
        if (reason != null ? !reason.equals(that.reason) : that.reason != null) return false;
        if (status != null ? !status.equals(that.status) : that.status != null) return false;
        if (createdon != null ? !createdon.equals(that.createdon) : that.createdon != null) return false;
        if (createdname != null ? !createdname.equals(that.createdname) : that.createdname != null) return false;
        if (createdby != null ? !createdby.equals(that.createdby) : that.createdby != null) return false;
        if (createdip != null ? !createdip.equals(that.createdip) : that.createdip != null) return false;
        if (handletype != null ? !handletype.equals(that.handletype) : that.handletype != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = pkid != null ? pkid.hashCode() : 0;
        result = 31 * result + (actid != null ? actid.hashCode() : 0);
        result = 31 * result + (actname != null ? actname.hashCode() : 0);
        result = 31 * result + (realname != null ? realname.hashCode() : 0);
        result = 31 * result + (legalname != null ? legalname.hashCode() : 0);
        result = 31 * result + (legalcertid != null ? legalcertid.hashCode() : 0);
        result = 31 * result + (handleway != null ? handleway.hashCode() : 0);
        result = 31 * result + (handledate != null ? handledate.hashCode() : 0);
        result = 31 * result + (reason != null ? reason.hashCode() : 0);
        result = 31 * result + (status != null ? status.hashCode() : 0);
        result = 31 * result + (createdon != null ? createdon.hashCode() : 0);
        result = 31 * result + (createdname != null ? createdname.hashCode() : 0);
        result = 31 * result + (createdby != null ? createdby.hashCode() : 0);
        result = 31 * result + (createdip != null ? createdip.hashCode() : 0);
        result = 31 * result + (handletype != null ? handletype.hashCode() : 0);
        return result;
    }
}
